n = int(input())
res = list(map(int,input().split()))
##def quick(arr,start,end):
##    if start<end:
##        temp = arr[start]
##        left = start
##        right = end
##        while left<right:
##            while right>left and arr[right]>=temp:
##                right-=1
##            arr[left] = arr[right]
##            while left<right and arr[left]<temp:
##                left+=1
##            arr[right] = arr[left]
##        arr[left] = temp
##        quick(arr,start,left-1)
##        quick(arr,left+1,end)
##quick(res,0,n-1)
res = sorted(res)
print(" ".join(list(map(str,res))))
    